package net.mihome.app.bean.net;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class ResponsePojo<T> implements Serializable{
	public static GsonUtils<ResponsePojo> gsonUtils=new GsonUtils<ResponsePojo>();
	 private int status;
	    private String msg;
	    private T data;
        private Map mark;

	    public int getStatus() {
	        return status;
	    }

	    public ResponsePojo setStatus(int status) {
	        this.status = status;
	        return this;
	    }

	    public String getMsg() {
	        return msg;
	    }

	    public ResponsePojo setMsg(String msg) {
	        this.msg = msg;
	        return this;
	    }

	    public T getData() {
	        return data;
	    }

	    public ResponsePojo setData(T data) {
	        this.data = data;
	        return this;
	    }
	    public static ResponsePojo fromJson(String json){
	    	return gsonUtils.fromJson(json);
	    }

    public Map getMark() {
        return mark;
    }

    public void setMark(Map mark) {
        this.mark = mark;
    }
}
